package com.xx.job.service.system;

import com.xx.job.entity.system.SysMenu;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liangcy
 * @since 2021-01-14
 */
public interface SysMenuService extends IService<SysMenu> {

    public List<SysMenu> getMenuData(HttpServletRequest request);

    List<SysMenu> menulist(String title,String visible);

    SysMenu select(Long id);

    int delete(Long id);

    List<Long> selectByType(List<String> menuTypes);


    int update(SysMenu sysMenu);

    int add(SysMenu sysMenu);

    List<Map<String,Object>> menuTreeselect();

    List<SysMenu> getMenuList(Long parentId,Long roleId,List<String> types);

    List<SysMenu> getMenuList(Long roleId,List<String> types,String path,String method);
}
